package Ejercicios;

import java.awt.Graphics;

import javax.swing.JPanel;

	@SuppressWarnings("serial")
class Lienzo extends JPanel {
	private int x;
	
	
	public void SetX(int x){
		this.x=x;
	}

	
	
	@Override
	public void paint(Graphics g) {
		super.paint(g);
		g.drawOval(x, 80, 100, 100);
			
			
		
		
	}

	
}


